QuickTime 3 For Windows Programmers

| Previous | Chapter Contents | Chapter Top | Next |

GetDIBFromPict

You use the GetDIBFromPict function to create a handle to a DIB from a QuickDraw PicHandle .

void *GetDIBFromPict (PicHandle hPict);
hPict
Specifies a handle to a Mac OS-style PICT.

function result
A handle to a DIB.

DESCRIPTION

The GetDIBFromPict function returns a global handle to a DIB when passed a PicHandle . The caller is responsible for releasing the memory of the DIB handle. You call the function GlobalFree to release the memory of the DIB handle.

Note that the DIB handle is not the same as HBITMAP .


© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |